package com.order.service;

import com.order.entity.ShoppingCart;

import java.util.List;

public interface CartService {

    List<ShoppingCart> search(Long userId);

    void add(ShoppingCart shoppingCart);

    void update(ShoppingCart shoppingCart);

    void delete(List<Long> ids);

    void deleteAll();
}
